import instance from '@/utils/request';

export function GetShowContractManage(data) {
    return instance.request({
        url: "api/ContractManage/GetEquipmentLedger",
        method: "post",
        data
    })
}

export function GetTotaocount() {
    return instance.request({
        url: "/api/ContractManage/GetCount",
        method: "get",
    })
}

export function updContractManage(data) {
    return instance.request({
        url: "/api/ContractManage/PutUpdateContractManage",
        method: "put",
        data
    })
}


export function PassContract(data) {
    return instance.request({
        url: "/api/ContractManage/PutUpdateContractManage",
        method: "put",
        data
    })
}

export function RefuseContract(data) {
    return instance.request({
        url: "/api/ContractManage/PutUpdateContractManage",
        method: "put",
        data
    })
}
